<!--左侧导航开始-->
<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="nav-close"><i class="glyphicon glyphicon-times-circle"></i>
    </div>
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header" style="background-color: #233645;">
                <div class="logo-element">
                    <a href="${request.contextPath}/" class="clear">
                        <img src="${ctx}/activiti/images/activiti-logo.png">
                        <h2>FireFlow</h2>
                    </a>
                </div>
            </li>
            <#list menus as menu>
                <li style="border-left:4px solid #2f4050; ">
                    <#if !menu.subMenus?? || menu.subMenus?size gt 0>
                        <a href="#">
                            <i class="anticon ${menu.icon}"></i>
                            <span class="nav-label">${menu.name}</span>
                            <span class="anticon icon-caretdown"></span>
                        </a>
                        <#list menu.subMenus>
                            <ul class="nav nav-second-level">
                                <#items as subMenu>
                                    <li>
                                        <a class="J_menuItem" href="${ctx}${subMenu.url}"
                                           data-index="0">${subMenu.name}</a>
                                    </li>
                                </#items>
                            </ul>
                        </#list>
                    <#else >
                        <a class="J_menuItem" href="${ctx}${menu.url}"><i class="glyphicon ${menu.icon}"></i> <span
                                class="nav-label">${menu.name}</span></a>
                    </#if>
                </li>
            </#list>
        </ul>
    </div>
</nav>
<!--左侧导航结束-->